package dao;

import com.google.inject.ImplementedBy;
import models.*;
import services.*;

import java.util.List;
import java.util.concurrent.CompletionStage;

/**
 * This interface provides a non-blocking API for possibly blocking operations.
 */
@ImplementedBy(DeliveryInfo_Repository_JPA.class)
public interface DeliveryInfo_Repository {
    CompletionStage<List<DeliveryInfo_F_Entity>> GetDeliveryInfo(String DeliveryDate, String PhoneNumber, String KHMC, String HWMC, String DeliveryOrderId, String ParentSubId, String SubId);
    CompletionStage<List<DeliveryInfo_T_Entity>> CreatSubBill(String PhoneNumber,String DeliveryOrderid, String SubId, String DeliveryQty, String StartDate, String EndDate , String ExecPosi , String ExecBy);
}
